import request from '@/utils/request'

// 查询剧集支付记录列表
export function listShortPlayPayRecords(query) {
  return request({
    url: '/shortPlay/shortPlayPayRecords/list',
    method: 'get',
    params: query
  })
}

// 查询剧集支付记录详细
export function getShortPlayPayRecords(id) {
  return request({
    url: '/shortPlay/shortPlayPayRecords/' + id,
    method: 'get'
  })
}

// 新增剧集支付记录
export function addShortPlayPayRecords(data) {
  return request({
    url: '/shortPlay/shortPlayPayRecords',
    method: 'post',
    data: data
  })
}

// 修改剧集支付记录
export function updateShortPlayPayRecords(data) {
  return request({
    url: '/shortPlay/shortPlayPayRecords',
    method: 'put',
    data: data
  })
}

// 删除剧集支付记录
export function delShortPlayPayRecords(id) {
  return request({
    url: '/shortPlay/shortPlayPayRecords/' + id,
    method: 'delete'
  })
}
